package edu.scu.declaresys.service.intr;

import edu.scu.declaresys.exception.ExecuteException;
import edu.scu.declaresys.util.PageList;
import edu.scu.declaresys.vo.News;

/**
 * 
 * @author: zt
 * @since : 2013-7-8
 */
public interface INewsService
{
	public PageList<News> findLatestBulletinNews() throws ExecuteException;
	
	public PageList<News> findLatestFundNews() throws ExecuteException;
	
	public PageList<News> findLatestProjectNews() throws ExecuteException;
	
	public PageList<News> findLatestDeclareProcessNews() throws ExecuteException;
	
	public PageList<News> findNewsList(Integer newsClassId, Integer pageNum) throws ExecuteException;
	
	public News findNewsById(Integer id) throws ExecuteException;

	public News findByTitle(String title) throws ExecuteException;

	public News addNews(News news) throws ExecuteException;

	public void delete(Integer id)throws ExecuteException;
	
}
